package com.aaa.entity;

import java.io.Serializable;
import java.math.BigDecimal;
import lombok.Data;

/**
 * Table: pms_sku_stock
 */
@Data
public class PmsSkuStock implements Serializable {
    /**
     * Table:     pms_sku_stock
     * Column:    id
     * Nullable:  false
     */
    private Long id;

    /**
     * Table:     pms_sku_stock
     * Column:    shop_id
     * Nullable:  true
     */
    private Long shopId;

    /**
     * Table:     pms_sku_stock
     * Column:    product_id
     * Nullable:  true
     */
    private Long productId;

    /**
     * sku编码
     *
     * Table:     pms_sku_stock
     * Column:    sku_code
     * Nullable:  false
     */
    private String skuCode;

    /**
     * Table:     pms_sku_stock
     * Column:    price
     * Nullable:  true
     */
    private BigDecimal price;

    /**
     * 库存
     *
     * Table:     pms_sku_stock
     * Column:    stock
     * Nullable:  true
     */
    private Integer stock;

    /**
     * 预警库存
     *
     * Table:     pms_sku_stock
     * Column:    low_stock
     * Nullable:  true
     */
    private Integer lowStock;

    /**
     * 销售属性1
     *
     * Table:     pms_sku_stock
     * Column:    sp1
     * Nullable:  true
     */
    private String sp1;

    /**
     * Table:     pms_sku_stock
     * Column:    sp2
     * Nullable:  true
     */
    private String sp2;

    /**
     * Table:     pms_sku_stock
     * Column:    sp3
     * Nullable:  true
     */
    private String sp3;

    /**
     * 展示图片
     *
     * Table:     pms_sku_stock
     * Column:    pic
     * Nullable:  true
     */
    private String pic;

    /**
     * 销量
     *
     * Table:     pms_sku_stock
     * Column:    sale
     * Nullable:  true
     */
    private Integer sale;

    /**
     * 单品促销价格
     *
     * Table:     pms_sku_stock
     * Column:    promotion_price
     * Nullable:  true
     */
    private BigDecimal promotionPrice;

    /**
     * 锁定库存
     *
     * Table:     pms_sku_stock
     * Column:    lock_stock
     * Nullable:  true
     */
    private Integer lockStock;

    /**
     * This field was generated by MyBatis Generator.
     * This field corresponds to the database table pms_sku_stock
     *
     * @mbg.generated Mon Jan 06 19:35:03 CST 2020
     */
    private static final long serialVersionUID = 1L;
}